from multiprocessing import Process
import os
def run_proc(name):
    print("process's name:{},PID:{}".format(name,os.getpid()))
if __name__ == "__main__":
    print("Parent Process:{}".format(os.getpid()))
    p = Process(target=run_proc,args=('test',))
    print('Chind Process Start')
    p.start()
    p.join()
    print('Child process end.')
